-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Re-sort inbox list on message sent/received #1846
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ |
const aTimestamp = a.updatedAt || a.metadata.timestamp; | ||
const bTimestamp = b.updatedAt || b.metadata.timestamp; | ||
const aTimestamp = | ||
a.lastMessage?.createdAt || a.updatedAt || a.metadata.timestamp; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The fix was looking at lastMessage.createdAt
instead of updatedAt
.
Fixed the "Loading new messages" state CleanShot.2023-06-28.at.17.00.29.mp4 |
Added loading UI to chatlog as well (spinner in top-right corner) CleanShot.2023-06-28.at.17.47.35.mp4 |
@drunkplato what do you think of just showing a pin icon instead of a different background color for pinned chats?
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's do it. |
@gdbroman is attempting to deploy a commit to the Holium Team on Vercel. To accomplish this, @gdbroman needs to request access to the Team. Afterwards, an owner of the Team is required to accept their membership request. If you're already a member of the respective Vercel Team, make sure that your Personal Vercel Account is connected to your GitHub account. |
Ticket: RE-277
Description
Reviewer Checklist